package Contracts;

import Impl.Type;
import Services.BlocService;

public class BlocServiceDecorator implements BlocService{
	private BlocService delegate;
	
	public BlocServiceDecorator(BlocService blocService){
		this.delegate = blocService;
	}
	
	public BlocService getDelegate(){
		return delegate;
	}

	@Override
	public void init(Type type) {
		delegate.init(type);
	}
	
	@Override
	public void clone(BlocService bloc) {
		delegate.clone(bloc);
	}
	
	@Override
	public Type getType() {
		return delegate.getType();
	}

	@Override
	public Type getOldType() {
		return delegate.getOldType();
	}

	@Override
	public void ChangeType(Type type) {
		delegate.ChangeType(type);
	}

	@Override
	public boolean equals(Object o){
		return delegate.equals(o);
	}
}
